package com.ddpt.platform.common.export.vo.activity;

import com.ddpt.platform.common.export.Export;
import com.ddpt.platform.common.export.vo.QueryDataVo;
import lombok.Getter;
import lombok.Setter;

/**
 * 活动题库导出体
 *
 * @author : zhanggsc
 * @Data : 2023/2/27 9:30
 */
@Getter
@Setter
public class QuestionVo extends QueryDataVo {

    @Export("题目")
    private String title;

    @Export("题目选项")
    private String item;

    @Export("答案选项数量")
    private Integer answerCount;

    @Export("选项总数量")
    private Integer itemCount;

    @Export(value = "类型", key = {"0", "1"}, val = {"单选", "多选"})
    private Integer type;

    @Export("难度星数")
    private Integer star;

    @Export(value = "创建人id", isStr = true)
    private Long creator;

    @Export("引用数量")
    private Integer quoteCount;

    @Export("答案选项字符串")
    private String answerStr;

    @Export("错误选项字符串")
    private String itemStr;

    @Export("创建人名称")
    private String creatorName;
}
